<!DOCTYPE html>
<html>
<head>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="wasm-constants.js"></script>
<script src="wasm-module-builder.js"></script>
<script src="wasm-limits-tests-common.js"></script>
<script src="wasm-limits-tests.js"></script>
</head>
<body>
  <script>
    test(TestBuffersAreCorrect, "wasm limits buffers are setup correctly");
    test(TestSyncCompile, "wasm sync compile test");
    test(NoParameters, "wasm no/invalid parameters passthrough");
    promise_test(NoParameters_Promise, "wasm no/invalid parameters passtrhough (promise APIs)");
    promise_test(TestPromiseCompile, "wasm promise compile test");
    promise_test(TestWorkerCompileAndInstantiate, "wasm worker compile test");
    promise_test(TestPromiseCompileSyncInstantiate, "wasm sync instantiate");
    promise_test(TestPromiseCompileAsyncInstantiateFromBuffer, "wasm async instantiate from buffer");
    promise_test(TestPromiseCompileAsyncInstantiateFromModule, "wasm async instantiate from module");
    promise_test(TestCompileFromPromise, "wasm async compile from promised bytes");
    promise_test(TestInstantiateFromPromise, "wasm async instantiate from promised bytes");
    promise_test(TestInstantiateFromPromiseChain, "wasm async compile, then async instantiate from promised bytes");
  </script>
</body>
</html>
